package TraitementMessages;

import com.lo23.data.objinterface.UserProfile;
import mainProcess.MainProcessing;
import ihm.main.Traitement;


public class UserInfosMessage extends InfosMessage {
	
	protected UserProfile profile;
	static final long serialVersionUID = 23201024L;
	
	
	public UserInfosMessage(String senderUID,UserProfile profile)
	{
		super(senderUID);
		this.profile = profile;
	}
	
	public void handleReceiption(MainProcessing mainProcessing) 
	{
		Traitement interfaceIHM = Traitement.getInstance();
		interfaceIHM.userInfos(profile);
    }
}
